//
//  GatherControlBar.h
//  LiveGather
//
//  Created by macintosh on 16/9/12.
//  Copyright © 2016年 macintosh. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface GatherControlBar : UIView

@property (nonatomic, assign, readonly) CGRect foldedFrame;
@property (nonatomic, assign) NSTimeInterval duration;

+ (instancetype)gatherControlBarWithButtons:(NSArray<UIButton *> *)buttons
                                      frame:(CGRect)frame
                                 isPortrait:(BOOL)isPortrait;

- (void)updateLayoutWithFoldedFrame:(CGRect)foldedFrame
                         isPortrait:(BOOL)isPortrait;

@end
